package com.example.behaviour.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AckResponseMessage extends Message{

    private Date createdTime;

    private String username;

    private String content;

    private String to;

    private Integer msgType;

    private String contentType;

    private String ackMsgId;  // -1 获取最新的聊天列表

    private String typeInfo;

    @Override
    public int getMessageType() {
        return AckResponseMessage;
    }
}
